-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to run MP LRA TCK with externally managed coordinator #31944
Conversation
fd0bd02
to
85f794c
Compare
This comment has been minimized.
This comment has been minimized.
.withNetworkMode("host"); | ||
if (System.getProperty("lra.coordinator.url") == null) { | ||
LOGGER.debug("Starting LRA coordinator on port " + coordinatorPort); | ||
coordinatorContainer = new GenericContainer<>(DockerImageName.parse("jbosstm/lra-coordinator:latest")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The image name should be quay.io/jbosstm/lra-coordinator
?
// lra-coordinator is a Quarkus service | ||
.withEnv("QUARKUS_HTTP_PORT", String.valueOf(coordinatorPort)) | ||
// need to run with host network because coordinator calls the TCK services from the container | ||
.withNetworkMode("host"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could add waitingFor(Wait.forLogMessage(".*lra-coordinator-quarkus.*", 1));
to make sure the server is started.
This will need a rebase as I switched to the new quay.io images in another PR. |
85f794c
to
e70e875
Compare
e70e875
to
f7cdbcc
Compare
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'd ask for one last rebase as the PR is quite old |
f7cdbcc
to
2fa3fef
Compare
@geoand already rebased, just we might race-conditioned labels :) |
:) |
✔️ The latest workflow run for the pull request has completed successfully. It should be safe to merge provided you have a look at the other checks in the summary. |
We can reuse this back to back in the published coordinator image testing - https://github.com/jbosstm/lra-coordinator-quarkus